package com.kkd.kkdapp.activity;

import com.kkd.kkdapp.R;
import com.kkd.kkdapp.base.BaseActivity;
import com.kkd.kkdapp.listener.OnSingleClickListener;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.RelativeLayout;

/*****
 * 
 * @author mty
 * 
 * @Name 什么是新浪存钱罐
 * 
 */
public class WhatIsAPiggyBankActivity extends BaseActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_what_is_apiggy_bank);
		initView();
	}

	/*********
	 * 初始化组件
	 *********/
	public void initView() {
		RelativeLayout top_img = (RelativeLayout) this
				.findViewById(R.id.top_img);
		top_img.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();
			}
		});
		findViewById(R.id.close).setOnClickListener(
				new OnSingleClickListener() {

					@Override
					public void onSingleClick(View v) {
						finish();
					}
				});
	}
}
